package com.hxd.common.exception;

import com.hxd.common.exception.base.BaseException;
import com.hxd.common.exception.enums.ExceptionEnum;

/**
 * 事务捕捉异常
 */
public class TxException extends BaseException {

	private static final long serialVersionUID = 1L;

	public TxException() {
		super(ExceptionEnum.TX_ERROR);
	}
	
	public TxException(String msg) {
		super(ExceptionEnum.TX_ERROR.getCode(), msg);
	}
}
